package com.yunji.product.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.yunji.common.annotation.Excel;
import com.yunji.common.base.BaseDelFlagDO;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

;import java.io.Serializable;

/**
 * @Project: yunji-coffee
 * @Package: com.yunji.product.domain
 * @Title: ProductUnit
 * <p>
 * History:
 * Date                     Version     Author          Summary
 * ============================================================
 * 2024-08-13 17:08:05      V1.0        HuaAo       新建类
 */
@TableName("v3_unit_table")
@Data
@NoArgsConstructor
@AllArgsConstructor
public class ProductUnitDO extends BaseDelFlagDO implements Serializable {

    private static final long serialVersionUID = -1391353015213363774L;

    @TableId(type = IdType.AUTO)
    @ApiModelProperty("单位ID")
    @Excel(name = "单位ID", width = 15)
    private Long unitId;

    @ApiModelProperty(value = "单位名称", required = true)
    @Excel(name = "单位名称", width = 15)
    private String unitName;

    @ApiModelProperty(value = "排序", required = true)
    @Excel(name = "排序", width = 15)
    private Integer sort;

}